//
//  NearNet.h
//  SportSocial
//
//  Created by yull on 15/1/3.
//  Copyright (c) 2015年 yull. All rights reserved.
//

#import "BaseNet.h"

@interface NearNet : BaseNet

+ (AFHTTPRequestOperation *)nearUserWithLatitude:(CGFloat)latitude
                                   longitude:(CGFloat)longitude
                                   precision:(NSInteger)precision
                                successBlock:(httpSuccessBlock)successBlock
                                   failBlock:(httpFailBlock)failBlock;

+ (AFHTTPRequestOperation *)nearPlaceWithLatitude:(CGFloat)latitude
                                       longitude:(CGFloat)longitude
                                       precision:(NSInteger)precision
                                    successBlock:(httpSuccessBlock)successBlock
                                       failBlock:(httpFailBlock)failBlock;

+ (AFHTTPRequestOperation *)nearGroupWithLatitude:(CGFloat)latitude
                                       longitude:(CGFloat)longitude
                                       precision:(NSInteger)precision
                                    successBlock:(httpSuccessBlock)successBlock
                                       failBlock:(httpFailBlock)failBlock;
@end
